RobinLA
New Member
- Nov 20, 2020
- 8
- 0
Hello everyone,
I have a little problem.
I get the following error - it says, that "RoleplayUser.Client" cannot reach 'cause the degree of protection.
But I don't understand why...
Here's the error:
And these are the codes:
Habbo.cs
RoleplayUser.cs
Hope, somepne can help me.
I have a little problem.
I get the following error - it says, that "RoleplayUser.Client" cannot reach 'cause the degree of protection.
But I don't understand why...
Here's the error:
You must be registered for see images attach
And these are the codes:
Habbo.cs
C#:
public IWebSocketConnection WebSocketConnection
{
get
{
if (PlusEnvironment.GetGame().GetWebEventManager() != null)
return PlusEnvironment.GetGame().GetWebEventManager().GetUsersConnection(RoleplayUser.Client);
else
return null;
}
}
RoleplayUser.cs
C#:
namespace Bobba.HabboRoleplay.Web
{
public class RoleplayUser
{
// Client Info
GameClient Client;
public RoleplayUser(GameClient Client)
{
// Client Info
this.Client = Client;
}
}
}
Hope, somepne can help me.