private void OnFarmIncommingMessage(FarmIncomeMessage msg) { SyncPlayerInfo(null, null, msg.Exp, msg.Money); MessageManager.SendMessage("Message.FarmIncoming.Data"); }
private void SendFarmIncomeMsg(NetConnection conn, int exp, int money) { var msg = new FarmIncomeMessage() { Exp = exp, Money = money, }; SharedServer.SendMessage(msg, conn); }