Example #1
0
 public ProxyPlayer(ServerClient client, PlayerInfo character, ProxyPlayerInfo proxyPlayer, List <BufferInfo> infos)
 {
     this.m_client                = client;
     this.m_character             = character;
     this.m_AreaID                = proxyPlayer.m_AreaID;
     this.m_AreaName              = proxyPlayer.m_AreaName;
     this.m_baseAttack            = proxyPlayer.BaseAttack;
     this.m_baseDefence           = proxyPlayer.BaseDefence;
     this.m_baseAglilty           = proxyPlayer.BaseAgility;
     this.m_baseBlood             = proxyPlayer.BaseBlood;
     this.m_currentWeapon         = proxyPlayer.GetItemTemplateInfo();
     this.m_secondWeapon          = proxyPlayer.GetItemInfo();
     this.GPRate                  = proxyPlayer.GPAddPlus;
     this.m_gmExperienceRate      = proxyPlayer.GMExperienceRate;
     this.m_auncherExperienceRate = proxyPlayer.AuncherExperienceRate;
     this.OfferRate               = proxyPlayer.OfferAddPlus;
     this.m_gmOfferRate           = proxyPlayer.GMOfferRate;
     this.m_auncherOfferRate      = proxyPlayer.AuncherOfferRate;
     this.m_gmRichesRate          = proxyPlayer.GMRichesRate;
     this.m_auncherRichesRate     = proxyPlayer.AuncherRichesRate;
     this.m_antiAddictionRate     = proxyPlayer.AntiAddictionRate;
     this.m_equipEffect           = new List <int>();
     this.Buffers                 = infos;
     this.m_Honer                 = "TEST";
 }
Example #2
0
 public ProxyPlayer(ServerClient client, PlayerInfo character, ProxyPlayerInfo proxyPlayer, UsersPetinfo pet, List <BufferInfo> infos, List <ItemInfo> euipEffects)
 {
     this.m_client            = client;
     this.m_character         = character;
     this.m_pet               = pet;
     this.m_serverid          = proxyPlayer.ServerId;
     this.m_baseAttack        = proxyPlayer.BaseAttack;
     this.m_baseDefence       = proxyPlayer.BaseDefence;
     this.m_baseAglilty       = proxyPlayer.BaseAgility;
     this.m_baseBlood         = proxyPlayer.BaseBlood;
     this.m_currentWeapon     = proxyPlayer.GetItemTemplateInfo();
     this.m_secondWeapon      = proxyPlayer.GetItemInfo();
     this.GPRate              = proxyPlayer.GPAddPlus;
     this.OfferRate           = proxyPlayer.OfferAddPlus;
     this.m_antiAddictionRate = proxyPlayer.AntiAddictionRate;
     this.m_equipEffect       = euipEffects;
     this.Buffers             = infos;
 }