Exemplo n.º 1
0
 public static void Invoke()
 {
     GameInfo.State = GameState.Startup;
     EventListenerDataBlock.Load();
     EventsDataBlock.Load();
     EventSequenceDataBlock.Load();
     LightSequenceDataBlock.Load();
     LightStateDataBlock.Load();
     ExpeditionSettingsDataBlock.Load();
 }
        public static void ActivateSequence(uint sequenceID)
        {
            Log.Message("Attempting to activate light sequence with id: " + sequenceID);
            var sequence = LightSequenceDataBlock.GetBlock(sequenceID);

            if (sequence != null)
            {
                Log.Message("Successfully got sequence block, activating...");
                sequence.Apply(/*Builder.CurrentFloor*/);
            }
        }