//// protected virtual bool UpdateMe(CustomEntity ent) { if (this.NextSync-- <= 0) { this.NextSync = PeriodicSyncEntityComponent.GetRandomSyncDuration(); ent.SyncToAll(); return(true); } return(false); }
//////////////// private PeriodicSyncEntityComponent() { this.NextSync = PeriodicSyncEntityComponent.GetRandomSyncDuration(); }