Пример #1
0
    void OnLoginGameReturn(object pb)
    {
        var ret = ParseCmd <Cmd.RetLoginGameServer>(pb);

        Debug.Log("OnLoginGameReturn:" + ret.error.ToString());
        currentRole = ret.role;
        ShowRoleView();
    }
Пример #2
0
    void OnCreateRole(object pb)
    {
        var ret = ParseCmd <Cmd.RetCreateRole>(pb);

        Debug.Log("OnCreateRole:" + ret.error.ToString());
        currentRole = ret.role;
        ShowRoleView();
    }