refactor: updated order of plugins callbacks

This commit is contained in:
2024-05-12 11:37:44 +03:00
parent 646744c9a1
commit 0ede864f40
4 changed files with 21 additions and 13 deletions
+12
View File
@@ -34,9 +34,21 @@ public class RelayRoomPlugin: BaseRoomPlugin
return true;
}
public override bool OnPlayerJoined(RagonRoomPlayer player)
{
return false;
}
public override bool OnPlayerLeaved(RagonRoomPlayer player)
{
return false;
}
public override bool OnData(RagonRoomPlayer player, byte[] data)
{
Console.WriteLine("Data received");
return true;
}
}