protected void OnPlayerSoldResource(SocketIOEvent e)
        {
            PlayerSoldResourceEvent psre = JsonConvert.DeserializeObject <PlayerSoldResourceEvent>(e.data);

            eventManager.DispatchEvent <PlayerSoldResourceEvent>(psre);
        }
示例#2
0
 protected void OnPlayerSoldResource(PlayerSoldResourceEvent e)
 {
     this.player.credits = e.player.credits;
 }