public static VariantFunction Call(string name, params object[] prms) { var varFunc = new VariantFunction(name); foreach (var prm in prms) { var var = new Variant(); var.Set(prm); varFunc.Variants.Add(var); } return(varFunc); }
public SVariantPacket(VariantFunction function, TankPacketHeader header) : base(header) { _function = function; Header.CharacterState = 8; }