| | |
| | | return
|
| | |
|
| | | def AddMineItemRecord(playerID, recordType, tagPlayerID, mineID, curTime):
|
| | | if playerID <= Def_FakeAreaCount:
|
| | | # 假人不记录
|
| | | return
|
| | | recordData = PyGameDataStruct.tagDBPyMineAreaRecord()
|
| | | recordData.PlayerID = playerID
|
| | | recordData.RecordType = recordType
|
| | |
| | | recordList = recordMgr.AddPlayerRecord(recordData)
|
| | |
|
| | | # 被人抢,更新关系福地ID记录
|
| | | if recordData.RecordType == MineAreaRecordType_BeRobbed and playerID > Def_FakeAreaCount:
|
| | | if recordData.RecordType == MineAreaRecordType_BeRobbed:
|
| | | __DoUpdSocialPlayerIDList(playerID)
|
| | |
|
| | | if len(recordList) > Def_RecordMax:
|