Exemplo n.º 1
0
    void HeroChangeSelectIndexReq(uint index)
    {
        CSHeroChangeSelectIndexReq req = new CSHeroChangeSelectIndexReq
        {
            Index = index
        };

        NetworkManager.SendPkgToServer(ENUM_CMD.CS_HERO_CHANGE_SELECT_INDEX_REQ, req);
    }
Exemplo n.º 2
0
    static void Single_OnHeroChangeSelectIndexReq(object obj, Action <object> callback)
    {
        CSHeroChangeSelectIndexReq req = obj as CSHeroChangeSelectIndexReq;

        playerData.SelectIndex = req.Index;
    }