Ejemplo n.º 1
0
 // Token: 0x0600074D RID: 1869 RVA: 0x000A1E44 File Offset: 0x000A0044
 public void Clear()
 {
     GameConstants.ArrayFill <int>(this.m_HashCode, -1);
     if (this.m_Key != null)
     {
         Array.Clear(this.m_Key, 0, this.m_Key.Length);
     }
     this.m_Count = 0;
 }
Ejemplo n.º 2
0
 // Token: 0x06000750 RID: 1872 RVA: 0x000A1E94 File Offset: 0x000A0094
 public CHashTable(int capacity, bool bSaveKeyData = true)
 {
     if (capacity <= 0)
     {
         Debug.LogError("CHashTable::Length can't be zero");
     }
     this.m_HashCode = new int[capacity];
     this.m_Key      = new TKey[capacity];
     this.m_Data     = new TValue[capacity];
     GameConstants.ArrayFill <int>(this.m_HashCode, -1);
 }
Ejemplo n.º 3
0
 // Token: 0x06000746 RID: 1862 RVA: 0x000A1C00 File Offset: 0x0009FE00
 public CHashSet(int capacity, bool bSaveKeyData = true)
 {
     if (capacity <= 0)
     {
         Debug.LogError("CHashSet::Length can't be zero");
     }
     this.m_HashCode = new int[capacity];
     if (bSaveKeyData)
     {
         this.m_Key = new TKey[capacity];
     }
     GameConstants.ArrayFill <int>(this.m_HashCode, -1);
 }
Ejemplo n.º 4
0
 // Token: 0x06000180 RID: 384 RVA: 0x00017CF4 File Offset: 0x00015EF4
 private void Initial()
 {
     this.poolIndex        = 0;
     this.MarkSFXBundleKey = -1;
     GameConstants.ArrayFill <int>(this.SFXBundleKey, 0);
     this.BaseVol         = 1f;
     this.MuteSFXVol      = false;
     this.www             = null;
     this.bCrossfade      = false;
     this.BGMmainIndex    = 0;
     this.SpeechSoundPrev = 0;
     this.DuckVolDecrease = 0f;
     this.DuckDeltaTime   = 0f;
     this.DuckVolDecrease = 0.2921f;
     this.DuckDeltaTime   = 0f;
     this.duckingstate    = AudioManager.DuckingState.None;
     this.MusicVol        = 1f;
     this.TmpVol          = 0f;
     this.FireKey         = 0;
     this.CloseQueueIndex = 0;
     GameConstants.ArrayFill <byte>(this.PauseKey, 0);
     this.MP3Key = 0;
 }
Ejemplo n.º 5
0
 // Token: 0x060005AC RID: 1452 RVA: 0x0007DE98 File Offset: 0x0007C098
 public void ResetAllVal()
 {
     GameConstants.ArrayFill <bool>(this.bUpdate, true);
     this.bUpdateTalentVal    = true;
     this.bUpdateLordEquipVal = true;
 }