Exemplo n.º 1
0
 public ushort GetSameTypeCount(ENUM_OBJECT_NAME oBJECT_NAME)
 {
     return(sameTypeNum[oBJECT_NAME]);
 }
Exemplo n.º 2
0
 public ushort GetSameTypeCount(ENUM_OBJECT_NAME oBJECT_NAME)
 {
     return(mObjectSystem.GetSameTypeCount(oBJECT_NAME));
 }
Exemplo n.º 3
0
 public ushort GetSameTypeForACountry(ushort countryID, ENUM_OBJECT_NAME buildType)
 {
     return(countryDict[countryID].GetSameTypeCount(buildType));
 }
Exemplo n.º 4
0
 public ushort GetSameTypeForACountry(ushort countryID, ENUM_OBJECT_NAME buildType)
 {
     return(mObjectOperation.GetSameTypeForACountry(countryID, buildType));
 }
Exemplo n.º 5
0
    private BaseMember GetCurrObjectScript(ENUM_OBJECT_NAME oBJECT_NAME)
    {
        switch (oBJECT_NAME)
        {
        case ENUM_OBJECT_NAME.Z_NENGSHI:
            break;

        case ENUM_OBJECT_NAME.Z_JINSHU:
            break;

        case ENUM_OBJECT_NAME.Z_ZHINENG:
            break;

        case ENUM_OBJECT_NAME.Z_XINENG:
            break;

        case ENUM_OBJECT_NAME.F_BUBING:
            return(cubeBuild.AddComponent <SoldierMem1100>());

        case ENUM_OBJECT_NAME.F_TEZHONG:
            return(cubeBuild.AddComponent <SoldierMem1101>());

        case ENUM_OBJECT_NAME.F_FANGKONG:
            break;

        case ENUM_OBJECT_NAME.F_NATASHA:
            break;

        case ENUM_OBJECT_NAME.F_GONGCHENG:
            break;

        case ENUM_OBJECT_NAME.F_YILIAO:
            break;

        case ENUM_OBJECT_NAME.F_GOU:
            break;

        case ENUM_OBJECT_NAME.F_FANJIA:
            break;

        case ENUM_OBJECT_NAME.F_CIBAO:
            break;

        case ENUM_OBJECT_NAME.C_ZHENCHA:
            break;

        case ENUM_OBJECT_NAME.C_ZHUANGJIA:
            break;

        case ENUM_OBJECT_NAME.C_TANKE:
            break;

        case ENUM_OBJECT_NAME.C_TIANQI:
            break;

        case ENUM_OBJECT_NAME.C_FANGKONG:
            break;

        case ENUM_OBJECT_NAME.C_HUOJIAN:
            break;

        case ENUM_OBJECT_NAME.C_JIHUANG:
            break;

        case ENUM_OBJECT_NAME.C_HEDAN:
            break;

        case ENUM_OBJECT_NAME.A_ZHENCHA:
            break;

        case ENUM_OBJECT_NAME.A_ZHISHENG:
            break;

        case ENUM_OBJECT_NAME.A_ZHANDOU:
            break;

        case ENUM_OBJECT_NAME.A_YUNSHU:
            break;

        case ENUM_OBJECT_NAME.A_YUJING:
            break;

        case ENUM_OBJECT_NAME.W_KUAITING:
            break;

        case ENUM_OBJECT_NAME.W_ZAIJU:
            break;

        case ENUM_OBJECT_NAME.W_YUNSHU:
            break;

        case ENUM_OBJECT_NAME.W_ZHANJIAN:
            break;

        case ENUM_OBJECT_NAME.W_HANGMU:
            break;

        case ENUM_OBJECT_NAME.W_QIANTING:
            break;

        case ENUM_OBJECT_NAME.B_DEMOS:
            return(cubeBuild.AddComponent <Build1500>());

        case ENUM_OBJECT_NAME.B_POWER:
            break;

        case ENUM_OBJECT_NAME.B_SOLDIER:
            return(cubeBuild.AddComponent <Build1502>());

        case ENUM_OBJECT_NAME.B_ZHANZHENG:
            return(cubeBuild.AddComponent <Build1503>());

        case ENUM_OBJECT_NAME.B_WATER:
            return(cubeBuild.AddComponent <Build1504>());

        case ENUM_OBJECT_NAME.B_AIR:
            return(cubeBuild.AddComponent <Build1505>());

        case ENUM_OBJECT_NAME.B_ZHIHUI:
            break;

        case ENUM_OBJECT_NAME.B_SCHOOL:
            break;

        case ENUM_OBJECT_NAME.B_KEXUE:
            break;

        case ENUM_OBJECT_NAME.B_ZHENFU:
            break;

        case ENUM_OBJECT_NAME.B_JINGWEI:
            break;

        case ENUM_OBJECT_NAME.B_MAOYI:
            break;

        case ENUM_OBJECT_NAME.B_YULE:
            break;

        case ENUM_OBJECT_NAME.B_TEZHONG:
            break;

        case ENUM_OBJECT_NAME.B_WEIQIANG:
            break;

        case ENUM_OBJECT_NAME.B_SHAOJIE:
            break;

        case ENUM_OBJECT_NAME.B_DIAOBAO:
            break;

        case ENUM_OBJECT_NAME.B_DIAOBAOG:
            break;

        case ENUM_OBJECT_NAME.B_TIBA:
            break;

        default:
            return(null);
        }
        return(null);
    }