示例#1
0
    void OnReqPick(NetworkMessage msg)
    {
        Log.i("LanHost OnReqPick", Log.Tag.Net);
        MsgPick   m = msg.ReadMessage <MsgPick> ();
        DropItems u = mUnitMgr.getUnit(m.dropGuid) as DropItems;

        u.decState(UnitState.Alive | UnitState.Exist);
        WindowMgr.SendWindowMessage("MainWindow", "ShowDrop", u.tid);
    }