private void SetParams(StrongString serverValue) { StrongString[] myStrings = serverValue.Split(CharSeparater); PlayerName = myStrings[0]; // 1 PlayerLevel = myStrings[1].ToUInt16(); // 2 PlayerLVLRanking = myStrings[2].ToUInt16(); // 3 PlayerPowerRanking = myStrings[3].ToUInt16(); // 4 PlayerGuildName = myStrings[4]; // 5 GuildPosition = (GuildPosition)myStrings[5].ToUInt16(); // 6 LastSeen = DateProvider.Parse(myStrings[6]); // 7 PlayerPower = Unit.ConvertToUnit(myStrings[7]); // 8 PlayerIntro = myStrings[8]; // 9 PlayerAvatar = Avatar.ConvertToAvatar(myStrings[9]); // 10 PlayerAvatarFrame = AvatarFrame.ParseToAvatarFrame(myStrings[10]); // 11 PlayerVIPlvl = myStrings[11].ToUInt16(); // 12 PlayerCurrentExp = Unit.ConvertToUnit(myStrings[12]); // 13 PlayerTotalExp = Unit.ConvertToUnit(myStrings[13]); // 14 PlayerCurrentVIPExp = Unit.ConvertToUnit(myStrings[14]); // 15 ThePlayerElement = (PlayerElement)myStrings[15].ToUInt16(); // 16 PlayerKingdom = (SAO_Kingdoms)myStrings[16].ToInt32(); // 17 SocialPosition = SocialPosition.GetSocialPosition(myStrings[17]); // 18 }
public bool AddAvatarFrame(StrongString frameString) { return(AddAvatarFrame(AvatarFrame.ParseToAvatarFrame(frameString))); }
public bool SetPlayerAvatarFrame(StrongString frameString) { return(SetPlayerAvatarFrame(AvatarFrame.ParseToAvatarFrame(frameString))); }