Exemplo n.º 1
0
 internal GPGnetGameParticipant(GPGnetGame game)
 {
     this.mIsReady = false;
     this.mPosition = -1;
     this.PingSendTime = 0;
     this.Pinging = false;
     this.mPingTime = 0;
     this.mGame = game;
 }
Exemplo n.º 2
0
 internal GPGnetGameParticipant(GPGnetGame game, string name, int id)
 {
     this.mIsReady = false;
     this.mPosition = -1;
     this.PingSendTime = 0;
     this.Pinging = false;
     this.mPingTime = 0;
     this.mGame = game;
     this.mName = name;
     this.mID = id;
 }
Exemplo n.º 3
0
 public static GPGnetGameParticipant FromDataString(GPGnetGame game, string data)
 {
     GPGnetGameParticipant participant = game.CreateMember();
     string[] tokens = data.Split(new char[] { ';' });
     participant.FromDataString(tokens);
     return participant;
 }