♻️ plugin api
This commit is contained in:
@@ -32,7 +32,8 @@ internal class AuthorizeSuccessHandler: Handler
|
||||
{
|
||||
var playerId = buffer.ReadString();
|
||||
var playerName = buffer.ReadString();
|
||||
var playerPayload = buffer.ReadString();
|
||||
|
||||
_listenerList.OnAuthorizationSuccess(playerId, playerName);
|
||||
_listenerList.OnAuthorizationSuccess(playerId, playerName, playerPayload);
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -19,11 +19,11 @@ using Ragon.Protocol;
|
||||
|
||||
namespace Ragon.Client;
|
||||
|
||||
internal class EntityDestroyHandler: Handler
|
||||
internal class EntityRemoveHandler: Handler
|
||||
{
|
||||
private readonly RagonEntityCache _entityCache;
|
||||
|
||||
public EntityDestroyHandler(RagonEntityCache entityCache)
|
||||
public EntityRemoveHandler(RagonEntityCache entityCache)
|
||||
{
|
||||
_entityCache = entityCache;
|
||||
}
|
||||
Reference in New Issue
Block a user