Example #1
0
 /// <summary>
 /// Function reads a global message any profile runned by linked stealth client could had written.
 /// </summary>
 /// <param name="region"></param>
 /// <param name="regionname"></param>
 /// <returns></returns>
 public virtual GameMessage ReadGlobalMessage(VarRegion region, string regionname)
 {
     return(new GameMessage
     {
         Region = region,
         Name = regionname,
         Value = Stealth.Client.GetGlobal(region, regionname)
     });
 }
Example #2
0
 public string GetGlobal(VarRegion globalRegion, string varName)
 {
     return(_client.SendPacket <string>(PacketType.SCGetGlobal, globalRegion, varName));
 }
Example #3
0
 public void SetGlobal(VarRegion globalRegion, string varName, string varValue)
 {
     _client.SendPacket(PacketType.SCSetGlobal, globalRegion, varName, varValue);
 }