Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Degree of Protection (PlusEmu)
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="RobinLA" data-source="post: 465829" data-attributes="member: 97285"><p>Hello everyone,</p><p></p><p>I have a little problem.</p><p>I get the following error - it says, that "RoleplayUser.Client" cannot reach 'cause the degree of protection.</p><p>But I don't understand why...</p><p></p><p>Here's the error:</p><p>[ATTACH=full]11731[/ATTACH]</p><p></p><p>And these are the codes:</p><p></p><p>Habbo.cs</p><p>[CODE=csharp]public IWebSocketConnection WebSocketConnection</p><p> {</p><p> get</p><p> {</p><p> if (PlusEnvironment.GetGame().GetWebEventManager() != null)</p><p> return PlusEnvironment.GetGame().GetWebEventManager().GetUsersConnection(RoleplayUser.Client);</p><p> else</p><p> return null;</p><p> }</p><p> }[/CODE]</p><p></p><p></p><p>RoleplayUser.cs</p><p>[CODE=csharp]namespace Bobba.HabboRoleplay.Web</p><p>{</p><p> public class RoleplayUser</p><p> {</p><p> // Client Info</p><p> GameClient Client;</p><p></p><p> public RoleplayUser(GameClient Client)</p><p> {</p><p> // Client Info</p><p> this.Client = Client;</p><p> }</p><p> }</p><p>}[/CODE]</p><p></p><p>Hope, somepne can help me.</p></blockquote><p></p>
[QUOTE="RobinLA, post: 465829, member: 97285"] 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: [ATTACH type="full" width="523px"]11731[/ATTACH] And these are the codes: Habbo.cs [CODE=csharp]public IWebSocketConnection WebSocketConnection { get { if (PlusEnvironment.GetGame().GetWebEventManager() != null) return PlusEnvironment.GetGame().GetWebEventManager().GetUsersConnection(RoleplayUser.Client); else return null; } }[/CODE] RoleplayUser.cs [CODE=csharp]namespace Bobba.HabboRoleplay.Web { public class RoleplayUser { // Client Info GameClient Client; public RoleplayUser(GameClient Client) { // Client Info this.Client = Client; } } }[/CODE] Hope, somepne can help me. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Degree of Protection (PlusEmu)
Top