internal PlayerTV AddOrGetTV(uint ItemId, uint RoomId) { if (!this.TVExists(ItemId)) { PlayerTV playerTV = new PlayerTV(ItemId, RoomId); LoadedTVs.Add(ItemId, playerTV); return(playerTV); } return((PlayerTV)LoadedTVs[ItemId]); }
internal PlayerTV AddOrGetTV(uint ItemId, uint RoomId) { if (!this.TVExists(ItemId)) { PlayerTV playerTV = new PlayerTV(ItemId, RoomId); LoadedTVs.Add(ItemId, playerTV); return playerTV; } return (PlayerTV)LoadedTVs[ItemId]; }