mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-26 09:35:26 +00:00
15 lines
360 B
C#
15 lines
360 B
C#
|
using UnityEngine.Networking;
|
|||
|
|
|||
|
namespace QSB {
|
|||
|
public class WakeUpMessage: MessageBase {
|
|||
|
bool wakeUp = true;
|
|||
|
|
|||
|
public override void Deserialize (NetworkReader reader) {
|
|||
|
wakeUp = reader.ReadBoolean();
|
|||
|
}
|
|||
|
|
|||
|
public override void Serialize (NetworkWriter writer) {
|
|||
|
writer.Write(wakeUp);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|