ForgeDocs
Documentation for the forge framework
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
Forge.Networking.Core.Player Class Reference

A network player is an abstraction over a network connection. More...

Public Member Functions

 Player (string name)
 
override bool Equals (object obj)
 Determines whether the specified see cref="System.Object" }, is equal to this instance. More...
 
override int GetHashCode ()
 Returns a hash code for this instance. More...
 
override string ToString ()
 

Public Attributes

string Name
 The name that the player gave themselves. More...
 
Guid Guid
 The GUID that uniquely identifies this player. This GUID can be per-session and does not need to be permanent. More...
 

Detailed Description

A network player is an abstraction over a network connection.

Member Function Documentation

override bool Forge.Networking.Core.Player.Equals ( object  obj)

Determines whether the specified see cref="System.Object" }, is equal to this instance.

Parameters
objThe System.Object to compare with this instance.
Returns
true if the specified System.Object is equal to this instance; otherwise, /c>.
override int Forge.Networking.Core.Player.GetHashCode ( )

Returns a hash code for this instance.

Returns
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

Member Data Documentation

Guid Forge.Networking.Core.Player.Guid

The GUID that uniquely identifies this player. This GUID can be per-session and does not need to be permanent.

string Forge.Networking.Core.Player.Name

The name that the player gave themselves.


The documentation for this class was generated from the following file: