Пример #1
0
 internal GPGnetGameParticipant(GPGnetGame game)
 {
     this.mIsReady = false;
     this.mPosition = -1;
     this.PingSendTime = 0;
     this.Pinging = false;
     this.mPingTime = 0;
     this.mGame = game;
 }
Пример #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;
 }
Пример #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;
 }