/// <summary>
 /// Game Server Status Event Arguments
 /// </summary>
 /// <param name="phase">
 /// Server <see cref="ConnectionPhase"/>
 /// </param>
 /// <param name="Instruction">
 /// Game <see cref="ServerInstructionType"/> to client
 /// </param>
 public NetServerEventArgs(ConnectionPhase phase, ServerInstructionType Instruction = ServerInstructionType.Unknown)
 {
     ConnectPhase      = phase;
     serverinstruction = Instruction;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="NetServerEventArgs"/> class.
 /// </summary>
 public NetServerEventArgs()
 {
     serverinstruction = ServerInstructionType.Unknown;
     ConnectPhase      = ConnectionPhase.error;
 }
Esempio n. 3
0
 /// <summary>
 ///
 /// </summary>
 public BaseServerInstruction()
 {
     rawInstruction  = null;
     instructionType = ServerInstructionType.Unknown;
 }