public System.Collections.Generic.List <string> GetAllMethods(AltUnityComponent altUnityComponent) { var altComponent = Newtonsoft.Json.JsonConvert.SerializeObject(altUnityComponent); altUnityDriver.Socket.Client.Send(System.Text.Encoding.ASCII.GetBytes(altUnityDriver.CreateCommand("getAllMethods", altComponent))); string data = altUnityDriver.Recvall(); if (!data.Contains("error:")) { return(Newtonsoft.Json.JsonConvert.DeserializeObject <System.Collections.Generic.List <string> >(data)); } AltUnityDriver.HandleErrors(data); return(null); }
public GetAllMethods(SocketSettings socketSettings, AltUnityComponent altUnityComponent, AltUnityObject altUnityObject) : base(socketSettings) { this.altUnityComponent = altUnityComponent; this.altUnityObject = altUnityObject; }
public System.Collections.Generic.List <string> GetAllMethods(AltUnityComponent altUnityComponent) { return(new GetAllMethods(socketSettings, altUnityComponent, this).Execute()); }
public System.Collections.Generic.List <AltUnityProperty> GetAllProperties(AltUnityComponent altUnityComponent) { return(new GetAllProperties(socketSettings, altUnityComponent, this).Execute()); }