This commit is contained in:
parent
3faf085c43
commit
1e69e5097e
|
|
@ -75,6 +75,8 @@ class WarehouseLockC {
|
||||||
local CUser = NativePointer(args[0]).readPointer();
|
local CUser = NativePointer(args[0]).readPointer();
|
||||||
local SUser = User(CUser);
|
local SUser = User(CUser);
|
||||||
local Uid = SUser.GetUID();
|
local Uid = SUser.GetUID();
|
||||||
|
print("我的uid: " + Uid);
|
||||||
|
print(NoWarehouseList);
|
||||||
if (NoWarehouseList.rawin(Uid)) {
|
if (NoWarehouseList.rawin(Uid)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -160,10 +160,10 @@ function _Dps_JYYJBB2_Main_() {
|
||||||
|
|
||||||
|
|
||||||
Cb_Inter_AuctionResultBidding_Leave_Func["交易播报2"] <- function(args) {
|
Cb_Inter_AuctionResultBidding_Leave_Func["交易播报2"] <- function(args) {
|
||||||
|
print("拍卖HOOK");
|
||||||
local username = User(args[1]).GetCharacName();
|
local username = User(args[1]).GetCharacName();
|
||||||
local id = NativePointer(args[2]).add(14).readInt();
|
local id = NativePointer(args[2]).add(14).readInt();
|
||||||
|
print("拍卖id: " + id);
|
||||||
local CheckSql = "SELECT item_id,unit_price,owner_id FROM taiwan_cain_auction_gold.auction_history_" + getYearMonth() + " where auction_id = " + id + ";";
|
local CheckSql = "SELECT item_id,unit_price,owner_id FROM taiwan_cain_auction_gold.auction_history_" + getYearMonth() + " where auction_id = " + id + ";";
|
||||||
//从池子拿连接
|
//从池子拿连接
|
||||||
local SqlObj = MysqlPool.GetInstance().GetConnect();
|
local SqlObj = MysqlPool.GetInstance().GetConnect();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue