public override void Format(ScriptWriter sw, IScriptFormatterContext formatterContext, IServices services) => sw.Format(formatterContext, services) .Property(nameof(FieldObject.Model)) .Method(nameof(FieldObjectInteraction.Move)) .Argument("x", _x) .Argument("y", _y) .Argument("z", _z) .Argument("unknown", _unknown) .Comment(nameof(Move));
public override void Format(ScriptWriter sw, IScriptFormatterContext formatterContext, IServices services) { sw.Format(formatterContext, services) .Property(nameof(FieldObject.Animation)) .Method(nameof(FieldObjectAnimation.Play)) .Argument("animationId", _animationId) .Comment(nameof(RANIME)); }
public override void Format(ScriptWriter sw, IScriptFormatterContext formatterContext, IServices services) { sw.Format(formatterContext, services) .Property(nameof(FieldObject.Animation)) .Property(nameof(FieldObjectAnimation.FPS)) .Assign(_fps) .Comment(nameof(ANIMESPEED)); }
public override void Format(ScriptWriter sw, IScriptFormatterContext formatterContext, IServices services) { sw.Format(formatterContext, services) .Property(nameof(FieldObject.Model)) .Property(nameof(FieldObjectInteraction.MovementSpeed)) .Assign(_speed) .Comment(nameof(MSPEED)); }
public override void Format(ScriptWriter sw, IScriptFormatterContext formatterContext, IServices services) { sw.Format(formatterContext, services) .Property(nameof(FieldObject.Model)) .Method(nameof(FieldObjectModel.Change)) .Argument("modelId", _modelId) .Comment(nameof(SETMODEL)); }
public override void Format(ScriptWriter sw, IScriptFormatterContext formatterContext, IServices services) { sw.Format(formatterContext, services) .Property(nameof(FieldObject.Model)) .Method(nameof(FieldObjectModel.SetDirection)) .Argument("angle256", _angle) .Comment(nameof(SET3)); }
public override void Format(ScriptWriter sw, IScriptFormatterContext formatterContext, IServices services) { sw.Format(formatterContext, services) .StaticType(nameof(IPartyService)) .Method(nameof(IPartyService.AddPartyCharacter)) .Enum(_characterId) .Comment(nameof(ADDPARTY)); }
public override void Format(ScriptWriter sw, IScriptFormatterContext formatterContext, IServices services) { sw.Format(formatterContext, services) .StaticType(nameof(IPartyService)) .Property(nameof(IPartyService.IsPartySwitchEnabled)) .Assign(_isPartySwitchEnabled) .Comment(nameof(PHSPOWER)); }
public override void Format(ScriptWriter sw, IScriptFormatterContext formatterContext, IServices services) { sw.Format(formatterContext, services) .StaticType(nameof(IGameplayService)) .Property(nameof(IGameplayService.IsUserControlEnabled)) .Assign(true) .Comment(nameof(UCON)); }
public override void Format(ScriptWriter sw, IScriptFormatterContext formatterContext, IServices services) { sw.Format(formatterContext, services) .Property(nameof(FieldObject.Model)) .Property(nameof(FieldObjectInteraction.SoundFootsteps)) .Assign(false) .Comment(nameof(FOOTSTEPOFF)); }
public override void Format(ScriptWriter sw, IScriptFormatterContext formatterContext, IServices services) => sw.Format(formatterContext, services) .Await() .Property(nameof(FieldObject.Animation)) .Method(nameof(FieldObjectAnimation.Play)) .Argument("animationId", _animationId) .Argument("firstFrame", _firstFrame) .Argument("lastFrame", _lastFrame) .Comment(nameof(CANIME));
public override void Format(ScriptWriter sw, IScriptFormatterContext formatterContext, IServices services) { sw.Format(formatterContext, services) .StaticType(nameof(ISalaryService)) .Property(nameof(ISalaryService.IsSalaryEnabled)) .Assign(true) .Comment(nameof(SARALYON)); }
public override void Format(ScriptWriter sw, IScriptFormatterContext formatterContext, IServices services) { sw.Format(formatterContext, services) .StaticType(nameof(IGameplayService)) .Property(nameof(IGameplayService.IsRandomBattlesEnabled)) .Assign(false) .Comment(nameof(BATTLEOFF)); }
public override void Format(ScriptWriter sw, IScriptFormatterContext formatterContext, IServices services) { sw.Format(formatterContext, services) .Property(nameof(FieldObject.Model)) .Property(nameof(FieldObjectInteraction.IsTalkScriptActive)) .Assign(false) .Comment(nameof(TALKOFF)); }
public override void Format(ScriptWriter sw, IScriptFormatterContext formatterContext, IServices services) { sw.Format(formatterContext, services) .StaticType(nameof(IPartyService)) .Method(nameof(IPartyService.RemovePlayableCharacter)) .Enum(_characterId) .Comment(nameof(SUBMEMBER)); }
public override void Format(ScriptWriter sw, IScriptFormatterContext formatterContext, IServices services) { sw.Format(formatterContext, services) .StaticType(nameof(IRenderingService)) .Property(nameof(IRenderingService.BackgroundFPS)) .Assign(_halfFps) .Comment(nameof(BGANIMESPEED)); }
public override void Format(ScriptWriter sw, IScriptFormatterContext formatterContext, IServices services) { sw.Format(formatterContext, services) .StaticType(nameof(IMessageService)) .Method(nameof(IMessageService.Close)) .Argument("channel", _channel) .Comment(nameof(WINCLOSE)); }
public override void Format(ScriptWriter sw, IScriptFormatterContext formatterContext, IServices services) { sw.Format(formatterContext, services) .Property(nameof(FieldObject.Model)) .Property(nameof(FieldObjectInteraction.IsPushScriptActive)) .Assign(true) .Comment(nameof(PUSHON)); }
public void Format(ScriptWriter sw, IScriptFormatterContext formatterContext, IServices services) { sw.Append("("); _first.Format(sw, formatterContext, services); sw.Append(" == "); _last.Format(sw, formatterContext, services); sw.Append(")"); }
public override void Format(ScriptWriter sw, IScriptFormatterContext formatterContext, IServices services) { sw.Format(formatterContext, services) .StaticType(nameof(IMusicService)) .Method(nameof(IMusicService.ChangeMusicVolume)) .Argument("volume", _volume) .Argument("flag", _flag) .Comment(nameof(MUSICVOL)); }
public override void Format(ScriptWriter sw, IScriptFormatterContext formatterContext, IServices services) { sw.Format(formatterContext, services) .CommentLine(FieldName.Get(_fieldMapId)) .StaticType(nameof(IFieldService)) .Method(nameof(IFieldService.PrepareGoTo)) .Enum(_fieldMapId) .Comment(nameof(PREMAPJUMP2)); }
public override void Format(ScriptWriter sw, IScriptFormatterContext formatterContext, IServices services) { sw.Format(formatterContext, services) .Property(nameof(FieldObject.Model)) .Method(nameof(FieldObjectModel.SetHitbox)) .Argument("p1", _p1.ToString()) .Argument("p2", _p2.ToString()) .Comment(nameof(SETLINE)); }
public override void Format(ScriptWriter sw, IScriptFormatterContext formatterContext, IServices services) { sw.Format(formatterContext, services) .CommentLine(AreaName.Get(_areaId)) .StaticType(nameof(IFieldService)) .Method(nameof(IFieldService.BindArea)) .Argument("areaId", _areaId) .Comment(nameof(SETPLACE)); }
public override void Format(ScriptWriter sw, IScriptFormatterContext formatterContext, IServices services) { sw.Format(formatterContext, services) .CommentLine(MusicName.Get(_musicId)) .StaticType(nameof(IMusicService)) .Method(nameof(IMusicService.ChangeBattleMusic)) .Enum(_musicId) .Comment(nameof(SETBATTLEMUSIC)); }
public override void Format(ScriptWriter sw, IScriptFormatterContext formatterContext, IServices services) { sw.Format(formatterContext, services) .Await() .StaticType(nameof(IMenuService)) .Method(nameof(IMenuService.ShowEnterNameDialog)) .Argument("entityName", _entityName) .Comment(nameof(MENUNAME)); }
public override void Format(ScriptWriter sw, IScriptFormatterContext formatterContext, IServices services) { sw.Format(formatterContext, services) .StaticType(nameof(IRenderingService)) .Method(nameof(IRenderingService.AnimateBackground)) .Argument("lastFrame", _lastFrame) .Argument("firstFrame", _firstFrame) .Comment(nameof(BGANIME)); }
public override void Format(ScriptWriter sw, IScriptFormatterContext formatterContext, IServices services) { sw.Format(formatterContext, services) .Await() .StaticType(nameof(IInteractionService)) .Method(nameof(IInteractionService.Wait)) .Argument("frameNumber", _frameNumber) .Comment(nameof(WAIT)); }
private String GetMethodName(IScriptFormatterContext formatterContext) { formatterContext.GetObjectScriptNamesById(ScriptId, out _, out String methodName); if (Char.IsLower(methodName[0])) { methodName = Char.ToUpperInvariant(methodName[0]) + methodName.Substring(1); } return(methodName); }
public override void Format(ScriptWriter sw, IScriptFormatterContext formatterContext, IServices services) { sw.Format(formatterContext, services) .Await() .Property(nameof(FieldObject.Model)) .Method(nameof(FieldObjectModel.Rotate)) .Argument("angle", _angle) .Argument("frameDuration", _frameDuration) .Comment(nameof(CTURNL)); }
public override void Format(ScriptWriter sw, IScriptFormatterContext formatterContext, IServices services) { sw.Format(formatterContext, services) .StaticType(nameof(IPartyService)) .Method(nameof(IPartyService.ChangeCharacterState)) .Enum <CharacterId>(_characterId) .Argument("isSwitchable", _isSwitchable) .Argument("isSelectable", _isSelectable) .Comment(nameof(HOLD)); }