- UID
- 18339
- UCC
-
- 声望
-
- 好评
-
- 贡献
-
- 最后登录
- 1970-1-1
|
lkk
13598 and 13557
a new refresh
Array ( [oid] => 1 [cls] => 2 [uid] => fhw [nick] => 实验工厂 )
F:\redlz2500\NCore\bin/cls/BUILDING/BUILDING.BASE.PHP
当前时间13598
Array ( [oid] => 1 [cls] => - - [e] => profinish [para] => 0 [gt] => 13580 )
code is $o=new building(13580,1);
$o->profinish();
select * from {{table}} where `oid` = '1' and `cls` = 'profinish'
Array ( [pid] => 1 [stock] => 1 [neednum] => 1 )
转换成的数据
Array ( [0] => Array ( [pid] => 1 [stock] => 1 [neednum] => 1 ) )
$o->profinish();
2
update {{table}} set `lastgametime` = '13598',`lasttime`='2008-11-15 19:15:46' limit 1
当前库存
Array ( [bid] => 1 [sid] => 2 [num] => 139 )
Array ( [bid] => 1 [sid] => 1 [num] => 894 )
当前生产产品
Array ( [id] => 2 [output] => 2 [outputnum] => 1 [productivity] => 600 [name] => 小麦 [type] => 0 [size] => 1 [weight] => 1 )
当前所需要的原料
Array ( [pid] => 1 [stock] => 1 [neednum] => 1 [id] => 1 [name] => 能量块 [type] => 0 [size] => 1 [weight] => 1 )
_______________________________________________________________________________________
lkk
13733 and 13719
update {{table}} set `lastgametime` = '13733',`lasttime`='2008-11-15 19:18:01' limit 1
当前库存
Array ( [bid] => 1 [sid] => 2 [num] => 141 )
Array ( [bid] => 1 [sid] => 1 [num] => 892 )
当前生产产品
Array ( [id] => 2 [output] => 2 [outputnum] => 1 [productivity] => 600 [name] => 小麦 [type] => 0 [size] => 1 [weight] => 1 )
当前所需要的原料
Array ( [pid] => 1 [stock] => 1 [neednum] => 1 [id] => 1 [name] => 能量块 [type] => 0 [size] => 1 [weight] => 1 ) |
|