static int GetFloatValues(IntPtr L)
 {
     LuaScriptMgr.CheckArgsCount(L, 1);
     Games.ConstConfig obj = (Games.ConstConfig)LuaScriptMgr.GetNetObjectSelf(L, 1, "Games.ConstConfig");
     float[]           o   = obj.GetFloatValues();
     LuaScriptMgr.PushArray(L, o);
     return(1);
 }
Beispiel #2
0
        public static float[] GetFloats(ID id)
        {
            ConstConfig config = configSet [(int)id];

            return(config.GetFloatValues());
        }