public override void Process(NetMessage msg) { if (msg.FullUpdate) { AdminOverlay.ClientFullUpdate(msg.Entries); } else { AdminOverlay.ClientAddEntry(msg.Entries[0]); } }
public override void Process() { if (FullUpdate) { AdminOverlay.ClientFullUpdate(JsonUtility.FromJson <AdminInfoUpdate>(JsonData)); } else { AdminOverlay.ClientAddEntry(JsonUtility.FromJson <AdminInfosEntry>(JsonData)); } }
public override IEnumerator Process() { yield return(new WaitForEndOfFrame()); if (FullUpdate) { AdminOverlay.ClientFullUpdate(JsonUtility.FromJson <AdminInfoUpdate>(JsonData)); } else { AdminOverlay.ClientAddEntry(JsonUtility.FromJson <AdminInfosEntry>(JsonData)); } }