static int PopDouble(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); MsgUnPacker obj = (MsgUnPacker)LuaScriptMgr.GetNetObjectSelf(L, 1, "MsgUnPacker"); double o = obj.PopDouble(); LuaScriptMgr.Push(L, o); return(1); }
public double GetDouble(int index) { MsgUnPacker _unpacker = new MsgUnPacker(this.buff); _unpacker.skip(index); double rst = _unpacker.PopDouble(); _unpacker.Close(); return(rst); }