Beispiel #1
0
    public WorldEventSnapshot(WorldEvent e)
    {
        EventType = e.GetType();

        TriggerDate = e.TriggerDate;
        SpawnDate   = e.SpawnDate;
        Id          = e.Id;
    }
Beispiel #2
0
 internal void WriteNetSendData(BinaryWriter writer)
 {
     if (CurrentEvent != null)
     {
         writer.Write(true);
         writer.Write(CurrentEvent.GetType().Name);
         CurrentEvent.WriteWaveData(ref writer);
     }
     else
     {
         writer.Write(false);
     }
 }