public void OnReceiveBattleSnapshot(BattleSnapshot snapshot) { if (this.OnSetSnapshot != null) { this.OnSetSnapshot(snapshot); } }
public void ReceiveBattleSnapshot(BattleSnapshot snapshot) { foreach (int num in this.GetObserverList()) { this._server.SendBattleSnapshot(num, snapshot); } }
public void SendBattleSnapshot(BattleSnapshot snapshot) { foreach (int num in this.ObserverList) { base.Send(num, PokemonBattleServerHelper.ReceiveBattleSnapshot(snapshot)); } }
public void OnReceiveBattleSnapshot(int sessionID, BattleSnapshot snapshot) { BattleAgent clientAgent = this.GetClientAgent(sessionID); if (clientAgent != null) { clientAgent.ReceiveBattleSnapshot(snapshot); } }
internal void SendBattleSnapshot(int sessionID, BattleSnapshot snapshot) { base.Send(sessionID, PokemonBattleServerHelper.ReceiveBattleSnapshot(snapshot)); }
public void SendBattleSnapshot(BattleSnapshot snapshot) { base.Send(PokemonBattleClientHelper.ReceiveBattleSnapshot(snapshot)); }
public void OnReceiveBattleSnapshot(int sessionID, BattleSnapshot snapshot) { }