public void UnLock(bool isSendData = true)
{
mIsLock = false;
locktime = 0;
lastlocktime = System.Environment.TickCount;
if (isSendData)
{
NetMsg.MsgLock msglock = new NetMsg.MsgLock();
msglock.UnLock();
msglock.id = this.GetTypeId();
msglock.x = GetCurrentX();
msglock.y = GetCurrentY();
this.RefreshVisibleObject();
this.GetGameMap().BroadcastBuffer(this, msglock.GetBuffer());
}
}