예제 #1
0
 public void ParseInfo(Hashtable info)
 {
     this.Id        = info.GetValue <string>((int)SPC.Id, string.Empty);
     this.OwnedRace = (Race)info.GetValue <byte>((int)SPC.OwnedRace, (byte)0);
     this.Zone      = new ClientWorldZone(info.GetValue <Hashtable>((int)SPC.ZoneInfo, new Hashtable()));
 }
예제 #2
0
 public void ParseInfo(Hashtable info)
 {
     this.Id        = info.GetValueString((int)SPC.Id);
     this.OwnedRace = (Race)info.GetValueByte((int)SPC.OwnedRace);
     this.Zone      = new ClientWorldZone(info.GetValueHash((int)SPC.ZoneInfo));
 }