protected void OnPlayerSoldResource(SocketIOEvent e) { PlayerSoldResourceEvent psre = JsonConvert.DeserializeObject <PlayerSoldResourceEvent>(e.data); eventManager.DispatchEvent <PlayerSoldResourceEvent>(psre); }
protected void OnPlayerSoldResource(PlayerSoldResourceEvent e) { this.player.credits = e.player.credits; }