增加调试GM
This commit is contained in:
parent
b6d7913727
commit
673026b2ba
@ -328,6 +328,10 @@ func ReqGmCommand_(player *Player, Command string) error {
|
||||
a := player.GetAgent()
|
||||
a.Close()
|
||||
player.ClearData()
|
||||
case "resetFriend":
|
||||
FriendMod := player.PlayMod.getFriendMod()
|
||||
FriendMod = &friend.FriendMod{}
|
||||
FriendMod.InitData()
|
||||
case "addFriend":
|
||||
FriendMod := player.PlayMod.getFriendMod()
|
||||
Uid, _ := strconv.Atoi(arg[1])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user