static int PopKStringVStringMap(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); MsgUnPacker obj = (MsgUnPacker)LuaScriptMgr.GetNetObjectSelf(L, 1, "MsgUnPacker"); Dictionary <string, string> o = obj.PopKStringVStringMap(); LuaScriptMgr.PushObject(L, o); return(1); }
public Dictionary <string, string> GetKStringVString(int index) { MsgUnPacker _unpacker = new MsgUnPacker(this.buff); _unpacker.skip(index); Dictionary <string, string> rst = _unpacker.PopKStringVStringMap(); _unpacker.Close(); return(rst); }