When I try to make some general purpose room code in such class:
- Code: Select all
public abstract class RoomPlayer : BasePlayer
{}
public abstract class Room<TRoomPlayer> : Game<TRoomPlayer>
where TRoomPlayer : RoomPlayer, new()
{}
And then:
- Code: Select all
public class SomeRoomPlayer : RoomPlayer
{}
[RoomType("SomeRoom")]
public class SomeRoom : Room<SomeRoomPlayer>
{}
SomeRoom is invisible when uploading to PlayerIO services.
What is preety strange, when I have tried making room not abstract - PlayerIO complain about missing RoomType attribute on base class becouse it is not abstract.
Seems like a bug for me...