예제 #1
0
        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);
        }
예제 #2
0
 public SVariantPacket(VariantFunction function, TankPacketHeader header) : base(header)
 {
     _function             = function;
     Header.CharacterState = 8;
 }