Exemplo n.º 1
0
 // Token: 0x06001050 RID: 4176 RVA: 0x00047A9B File Offset: 0x00045C9B
 static GameModeConVar()
 {
     GameModeCatalog.availability.CallWhenAvailable(delegate
     {
         PreGameController.GameModeConVar.instance.runPrefabComponent = GameModeCatalog.FindGameModePrefabComponent(PreGameController.GameModeConVar.instance.GetString());
     });
 }
Exemplo n.º 2
0
            // Token: 0x06001B0E RID: 6926 RVA: 0x0007F090 File Offset: 0x0007D290
            protected override string RebuildValue()
            {
                if (!Run.instance)
                {
                    return(null);
                }
                Run run = GameModeCatalog.FindGameModePrefabComponent(Run.instance.name);

                if (run == null)
                {
                    return(null);
                }
                return(run.name);
            }
Exemplo n.º 3
0
 // Token: 0x06001051 RID: 4177 RVA: 0x00047AD4 File Offset: 0x00045CD4
 public override void SetString(string newValue)
 {
     GameModeCatalog.availability.CallWhenAvailable(delegate
     {
         Run exists = GameModeCatalog.FindGameModePrefabComponent(newValue);
         if (!exists)
         {
             Debug.LogFormat("GameMode \"{0}\" does not exist.", new object[]
             {
                 newValue
             });
             return;
         }
         this.runPrefabComponent = exists;
     });
 }