Ejemplo n.º 1
0
 public void CreateByLuaTable(LuaTable luaTable)
 {
     this.name        = NHelper.ParseObjectToString(luaTable["name"]);
     this.brief       = NHelper.ParseObjectToString(luaTable["brief"]);
     this.bg_effect   = NHelper.ParseInt(NHelper.ParseObjectToString(luaTable["bg_effect"]));
     this.weapon_id   = NHelper.ParseObjectToString(luaTable["weapon_id"]);
     this.GMweapon_id = NHelper.ParseObjectToString(luaTable["GMweapon_id"]);
 }
Ejemplo n.º 2
0
 public void CreateByLuaTable(LuaTable luaTable)
 {
     this.name        = NHelper.ParseObjectToString(luaTable["name"]);
     this.brief       = NHelper.ParseObjectToString(luaTable["brief"]);
     this.theme_id    = NHelper.ParseInt(NHelper.ParseObjectToString(luaTable["theme_id"]));
     this.group_id    = NHelper.ParseInt(NHelper.ParseObjectToString(luaTable["group_id"]));
     this.prefab_name = NHelper.ParseObjectToString(luaTable["prefab_name"]);
     //this.desc = NHelper.ParseObjectToString(luaTable["desc"]);
 }
Ejemplo n.º 3
0
    public void CreateByLuaTable(LuaTable luaTable)
    {
        this.name        = NHelper.ParseObjectToString(luaTable["name"]);
        this.brief       = NHelper.ParseObjectToString(luaTable["brief"]);
        this.theme_id    = NHelper.ParseObjectToString(luaTable["theme_id"]);
        this.group_id    = NHelper.ParseInt(NHelper.ParseObjectToString(luaTable["group_id"]));
        this.game_mode   = NHelper.ParseObjectToString(luaTable["game_mode"]);
        this.prefab_name = NHelper.ParseObjectToString(luaTable["prefab_name"]);
        this.icon        = NHelper.ParseObjectToString(luaTable["icon"]);

        this.copy_allow        = NHelper.ParseInt(NHelper.ParseObjectToString(luaTable["copy_allow"]));
        this.delete_allow      = NHelper.ParseInt(NHelper.ParseObjectToString(luaTable["delete_allow"]));
        this.rotate_zoom_allow = NHelper.ParseInt(NHelper.ParseObjectToString(luaTable["rotate_zoom_allow"]));

        this.finger_allow = NHelper.ParseInt(NHelper.ParseObjectToString(luaTable["finger_allow"]));

        this.GM_only = NHelper.ParseInt(NHelper.ParseObjectToString(luaTable["GM_only"]));
    }
Ejemplo n.º 4
0
 public void CreateByLuaTable(LuaTable luaTable)
 {
     this.prefab_name = NHelper.ParseObjectToString(luaTable["prefab_name"]);
     this.index_id    = NHelper.ParseInt(NHelper.ParseObjectToString(luaTable["index_id"]));
 }