public override IAwaitable TestExecute(IServices services) { ServiceId.Party[services].ChangeParty( (Characters)_character1.Int32(services), (Characters)_character1.Int32(services), (Characters)_character1.Int32(services)); return(DummyAwaitable.Instance); }
public override IAwaitable TestExecute(IServices services) { Characters characterId = (Characters)_characterId.Int32(services); ServiceId.Party[services].RemovePartyCharacter(characterId); return(DummyAwaitable.Instance); }
public override IAwaitable TestExecute(IServices services) { Int32 value = _value.Int32(services); ServiceId.Interaction[services][_index] = value; return(DummyAwaitable.Instance); }
public override IAwaitable TestExecute(IServices services) { FieldObject currentObject = ServiceId.Field[services].Engine.CurrentObject; currentObject.Model.SetDirection(Degrees.FromAngle256(_angle.Int32(services))); return(DummyAwaitable.Instance); }
public override IAwaitable TestExecute(IServices services) => ServiceId.Message[services].ShowQuestion( _channel.Int32(services), _messageId.Int32(services), _firstLine.Int32(services), _lastLine.Int32(services), _beginLine.Int32(services), _cancelLine.Int32(services));
public override IAwaitable TestExecute(IServices services) { FieldObject currentObject = ServiceId.Field[services].Engine.CurrentObject; currentObject.Interaction.MovementSpeed = _speed.Int32(services); return(DummyAwaitable.Instance); }
public override IAwaitable TestExecute(IServices services) { CharacterId characterId = (CharacterId)_characterId.Int32(services); ServiceId.Party[services].ChangeCharacterState(characterId, _isSwitchable, _isSelectable); return(DummyAwaitable.Instance); }
public override IAwaitable TestExecute(IServices services) { Int32 fps = _halfFps.Int32(services) * 2; ServiceId.Rendering[services].BackgroundFPS = fps; return(DummyAwaitable.Instance); }
public override IAwaitable TestExecute(IServices services) { ServiceId.Music[services].ChangeMusicVolume( _volume.Int32(services), _flag.Boolean(services)); return(DummyAwaitable.Instance); }
public override IAwaitable TestExecute(IServices services) { Int32 firstFrame = _lastFrame.Int32(services); Int32 lastFrame = _firstFrame.Int32(services); ServiceId.Rendering[services].AnimateBackground(firstFrame, lastFrame); return(DummyAwaitable.Instance); }
public override IAwaitable TestExecute(IServices services) { return(ServiceId.Message[services].ShowDialog( _channel.Int32(services), _messageId.Int32(services), _posX.Int32(services), _posY.Int32(services))); }
public override IAwaitable TestExecute(IServices services) { ServiceId.Rendering[services].SubScreenColor( new Color( _r.Int32(services), _g.Int32(services), _b.Int32(services))); return(DummyAwaitable.Instance); }
public override IAwaitable TestExecute(IServices services) { ServiceId.Sound[services].PlaySound(_fieldSoundIndex, _pan.Int32(services), _volume.Int32(services), _channel.Int32(services)); return(DummyAwaitable.Instance); }
public override IAwaitable TestExecute(IServices services) => ServiceId.Message[services].ShowQuestion( _channel.Int32(services), _messageId.Int32(services), _firstLine.Int32(services), _lastLine.Int32(services), _beginLine.Int32(services), _cancelLine.Int32(services), _pos.X, //do we need to use the services code for these? they don't do it in AMES _pos.Y);
public override IAwaitable TestExecute(IServices services) { var currentObject = ServiceId.Field[services].Engine.CurrentObject; var frameDuration = _frameDuration.Int32(services); currentObject.Model.RotateToObject(_targetObject, frameDuration); return(DummyAwaitable.Instance); }
public override IAwaitable TestExecute(IServices services) { var currentObject = ServiceId.Field[services].Engine.CurrentObject; var degrees = Degrees.FromAngle256(_angle.Int32(services)); var frameDuration = _frameDuration.Int32(services); currentObject.Model.Rotate(-degrees, frameDuration); return(DummyAwaitable.Instance); }
public override IAwaitable TestExecute(IServices services) { FieldObject currentObject = ServiceId.Field[services].Engine.CurrentObject; Int32 unknown = _unknown.Int32(services); Int32 frameDuration = _frameDuration.Int32(services); currentObject.Model.RotateToPlayer(unknown, frameDuration); return(DummyAwaitable.Instance); }
public override IAwaitable TestExecute(IServices services) { FieldObject currentObject = ServiceId.Field[services].Engine.CurrentObject; Coords3D coords = new Coords3D( _x.Int32(services), _y.Int32(services), _z.Int32(services)); Int32 unknown = _unknown.Int32(services); currentObject.Interaction.Move(coords, unknown); return(DummyAwaitable.Instance); }
public override IAwaitable TestExecute(IServices services) { ServiceId.Rendering[services].SubScreenColorTransition( new RGBColor( _r1.Int32(services), _g1.Int32(services), _b1.Int32(services)), new RGBColor( _r2.Int32(services), _g2.Int32(services), _b2.Int32(services)), _transitionDuration.Int32(services)); return(DummyAwaitable.Instance); }
public override IAwaitable TestExecute(IServices services) { ServiceId.Music[services].LoadFieldMusic((MusicId)_musicId.Int32(services)); return(DummyAwaitable.Instance); }
public override IAwaitable TestExecute(IServices services) { Int32 frameNumber = _frameNumber.Int32(services); return(ServiceId.Interaction[services].Wait(frameNumber)); }
public override IAwaitable TestExecute(IServices services) { NamedEntity targetEntity = (NamedEntity)_entityName.Int32(services); return(ServiceId.Menu[services].ShowEnterNameDialog(targetEntity)); }