public void RegisterOwnerPlayer(IOwnerPlayer ownerPlayer) { Leyoutech.Utility.DebugUtility.Log(LOG_TAG, "Register Owner Player: " + (ownerPlayer == null ? "None" : ownerPlayer.GetDisplay())); m_OwnerPlayer = ownerPlayer; }
public void UnregisterOwnerPlayer(IOwnerPlayer ownerPlayer) { if (m_OwnerPlayer == ownerPlayer) { Leyoutech.Utility.DebugUtility.Log(LOG_TAG , "Unregister Owner Player: " + ownerPlayer.GetDisplay()); m_OwnerPlayer = null; } }