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

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

        _unpacker.skip(index);
        Dictionary <string, int> rst = _unpacker.PopKStringVIntMap();

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