/// <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) }); }
public string GetGlobal(VarRegion globalRegion, string varName) { return(_client.SendPacket <string>(PacketType.SCGetGlobal, globalRegion, varName)); }
public void SetGlobal(VarRegion globalRegion, string varName, string varValue) { _client.SendPacket(PacketType.SCSetGlobal, globalRegion, varName, varValue); }