예제 #1
0
        public D_PROPS_INFOS_LIST createFromStreamEx(MemoryStream stream)
        {
            D_PROPS_INFOS_LIST datas = new D_PROPS_INFOS_LIST();

            datas.values = values_DataType.createFromStreamEx(stream);
            return(datas);
        }
예제 #2
0
        public override void onRemoteMethodCall(UInt16 methodUtype, MemoryStream stream)
        {
            ScriptModule sm = EntityDef.moduledefs["Operation"];

            Method method = sm.idmethods[methodUtype];

            switch (method.methodUtype)
            {
            case 19:
                broadGameStart();
                break;

            case 20:
                Byte readyResult_arg1 = stream.readUint8();
                readyResult(readyResult_arg1);
                break;

            case 17:
                HERO_BAG reqHeroListResult_arg1 = ((DATATYPE_HERO_BAG)method.args[0]).createFromStreamEx(stream);
                reqHeroListResult(reqHeroListResult_arg1);
                break;

            case 18:
                Byte reqSelectHeroResult_arg1 = stream.readUint8();
                reqSelectHeroResult(reqSelectHeroResult_arg1);
                break;

            case 22:
                D_HERO_INFOS_LIST rspHeroInfo_arg1 = ((DATATYPE_D_HERO_INFOS_LIST)method.args[0]).createFromStreamEx(stream);
                rspHeroInfo(rspHeroInfo_arg1);
                break;

            case 23:
                D_PROPS_INFOS_LIST rspPropsInfo_arg1 = ((DATATYPE_D_PROPS_INFOS_LIST)method.args[0]).createFromStreamEx(stream);
                rspPropsInfo(rspPropsInfo_arg1);
                break;

            case 21:
                D_ROAD_INFOS_LIST rspRoadInfo_arg1 = ((DATATYPE_D_ROAD_INFOS_LIST)method.args[0]).createFromStreamEx(stream);
                rspRoadInfo(rspRoadInfo_arg1);
                break;

            case 24:
                D_SHOP_INFOS_LIST rspShopInfo_arg1 = ((DATATYPE_D_SHOP_INFOS_LIST)method.args[0]).createFromStreamEx(stream);
                rspShopInfo(rspShopInfo_arg1);
                break;

            case 25:
                D_SKILL_INFOS_LIST rspSkillInfo_arg1 = ((DATATYPE_D_SKILL_INFOS_LIST)method.args[0]).createFromStreamEx(stream);
                rspSkillInfo(rspSkillInfo_arg1);
                break;

            case 26:
                D_TEAM_INFOS_LIST rspTeamInfo_arg1 = ((DATATYPE_D_TEAM_INFOS_LIST)method.args[0]).createFromStreamEx(stream);
                rspTeamInfo(rspTeamInfo_arg1);
                break;

            default:
                break;
            }
            ;
        }
예제 #3
0
 public abstract void rspPropsInfo(D_PROPS_INFOS_LIST arg1);
예제 #4
0
 public void addToStreamEx(Bundle stream, D_PROPS_INFOS_LIST v)
 {
     values_DataType.addToStreamEx(stream, v.values);
 }