Change some fields from private to protected.

This commit is contained in:
Crsky 2022-09-11 04:43:44 +08:00
parent 736fe8aeea
commit 0f827a9eba

View File

@ -55,8 +55,8 @@ namespace GameRes.Formats.KiriKiri
[Serializable] [Serializable]
public class CxEncryption : ICrypt public class CxEncryption : ICrypt
{ {
private uint m_mask; protected uint m_mask;
private uint m_offset; protected uint m_offset;
protected byte[] PrologOrder; protected byte[] PrologOrder;
protected byte[] OddBranchOrder; protected byte[] OddBranchOrder;
@ -207,7 +207,7 @@ namespace GameRes.Formats.KiriKiri
Decrypt (entry, offset, values, pos, count); Decrypt (entry, offset, values, pos, count);
} }
Tuple<uint, uint> ExecuteXCode (uint hash) protected Tuple<uint, uint> ExecuteXCode (uint hash)
{ {
uint seed = hash & 0x7f; uint seed = hash & 0x7f;
if (null == m_program_list[seed]) if (null == m_program_list[seed])