コード例 #1
0
 /// <summary>
 /// Constructor used by senders of a message
 /// </summary>
 /// <param name="username"></param>
 /// <param name="password"></param>
 public GetResource(Int16 gameId, PossibleResourceType type, Tick tick)
     : base(PossibleTypes.GetResource)
 {
     GameId          = gameId;
     GetResourceType = type;
     EnablingTick    = tick;
 }
コード例 #2
0
 /// <summary>
 /// Constructor used by senders of a message
 /// </summary>
 /// <param name="username"></param>
 /// <param name="password"></param>
 public GetResource(Int16 gameId, PossibleResourceType type, Tick tick)
     : base(PossibleTypes.GetResource)
 {
     GameId = gameId;
     GetResourceType = type;
     EnablingTick = tick;
 }
コード例 #3
0
 public GetResource(Int16 gameId, PossibleResourceType type) : this(gameId, type, null)
 {
 }
コード例 #4
0
 public GetResource(Int16 gameId, PossibleResourceType type)
     : this(gameId, type, null)
 {
 }