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