Ejemplo n.º 1
0
        /// <summary>
        /// 好友当前状态
        /// </summary>
        /// <param name="buf">协议内容</param>
        private void OnSyncPlayerInfoBack(KProtoBuf buf)
        {
            S2C_SYNC_PLAYERINFO msg = buf as S2C_SYNC_PLAYERINFO;

            ShipItemsProxy shipItemsProxy = GameFacade.Instance.RetrieveProxy(ProxyName.ShipItemsProxy) as ShipItemsProxy;

            shipItemsProxy.InitShipItemsByByRespond(msg);
        }
Ejemplo n.º 2
0
    private void OnSyncFightShipItems(KProtoBuf buf)
    {
        S2C_SYNC_FIGHTSHIP_VISIBLE_ITEM_LIST msg = buf as S2C_SYNC_FIGHTSHIP_VISIBLE_ITEM_LIST;

        Debug.Log("OnSyncFightShipItems");

        ShipItemsProxy shipItemsProxy = GameFacade.Instance.RetrieveProxy(ProxyName.ShipItemsProxy) as ShipItemsProxy;

        shipItemsProxy.InitShipItemsByByRespond(msg);
    }