protected override void webLoadRes(object[] objs)
    {
        callback = objs[0] as CallBackWithParams <Object>;

        request = new SOAService_Resource_Character_Bundle_Config();
        request.AddListener(LoadComplete);
        request.Run();
    }
Exemplo n.º 2
0
    protected override void webLoadRes(object[] objs)
    {
        tempData     = objs[0] as CharacterData;
        tempcallback = objs[1] as CallBackWithParams <Object>;

        if (tempData.sex == (int)EnumCharacterType.Charater_Female)
        {
            request = new SOAService_Resource_Character_Bundle_Female(resType, CharacterConst.Female);
        }
        else
        {
            request = new SOAService_Resource_Character_Bundle_Male(resType, CharacterConst.Male);
        }
        request.AddListener(LoadComplete);
        request.Run();
    }
Exemplo n.º 3
0
    protected override void webLoadRes(object[] objs)
    {
        cm           = objs[0] as ClothModel;
        tempCallback = objs[1] as CallBackWithParams <Object>;


        if (cm.sex == "01")
        {
            request = new SOAService_Resource_Character_Bundle_Male(resType, cm.resname);
        }
        else
        {
            request = new SOAService_Resource_Character_Bundle_Female(resType, cm.resname);
        }
        request.AddListener(LoadComplelte);
        request.Run();
    }