public OnlineNullPlayer(OnlinePlayerID id, bool isLocalPlayer) { this.id = id; #if LOGIN_SERVER if (isLocalPlayer) { name = string.Format("LP-{0:X4}", id.uuid.ToString()).Substring(0, 8); } else { name = string.Format("{0:X4}", id.uuid.ToString()).Substring(0, 8); } #else name = id.uuid.ToString(); #endif }
public void AsyncGetOnlinePlayer(OnlinePlayerID id, OnlinePlayerChangedDelegate callback) { AsyncGetOnlinePlayer(id.uuid, callback); }
public bool Equals(OnlinePlayerID _other) { var other = _other as SteamPlayerID; return((other != null) && (other.uuid == uuid)); }