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