Example #1
0
 public CreateVFXScriptClient(Vector2 Position, Vector2 Speed, VFXTypes VFXType)
     : base(ScriptName)
 {
     this.Position = Position;
     this.Speed    = Speed;
     this.VFXType  = VFXType;
 }
Example #2
0
 protected override void Read(OnlineReader Host)
 {
     Position = new Vector2(Host.ReadFloat(), Host.ReadFloat());
     Speed    = new Vector2(Host.ReadFloat(), Host.ReadFloat());
     VFXType  = (VFXTypes)Host.ReadByte();
 }