Beispiel #1
0
    static int PopKStringVFloatMap(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 1);
        MsgUnPacker obj = (MsgUnPacker)LuaScriptMgr.GetNetObjectSelf(L, 1, "MsgUnPacker");
        Dictionary <string, float> o = obj.PopKStringVFloatMap();

        LuaScriptMgr.PushObject(L, o);
        return(1);
    }
Beispiel #2
0
    public Dictionary <string, float> GetKStringVFloat(int index)
    {
        MsgUnPacker _unpacker = new MsgUnPacker(this.buff);

        _unpacker.skip(index);
        Dictionary <string, float> rst = _unpacker.PopKStringVFloatMap();

        _unpacker.Close();
        return(rst);
    }