public WorldEventSnapshot(WorldEvent e) { EventType = e.GetType(); TriggerDate = e.TriggerDate; SpawnDate = e.SpawnDate; Id = e.Id; }
internal void WriteNetSendData(BinaryWriter writer) { if (CurrentEvent != null) { writer.Write(true); writer.Write(CurrentEvent.GetType().Name); CurrentEvent.WriteWaveData(ref writer); } else { writer.Write(false); } }