/// <summary> /// /// </summary> /// <param name="actiontype">Type</param> /// <param name="actionbody">Body</param> /// <param name="aftercomment">After Comment</param> /// <param name="modifier">Modifier</param> public ModAction(string actiontype, string actionbody, string aftercomment, string modifier) { this.ActionType = actiontype; this.ActionBody = actionbody; this.BeforeComment = null; this.AfterComment = new StringLocalised(aftercomment); this.StartLine = 0; this.Modifier = modifier; }
/// <summary> /// /// </summary> /// <param name="actiontype">Type</param> /// <param name="actionbody">Body</param> /// <param name="aftercomment">After Comment</param> public ModAction(string actiontype, string actionbody, StringLocalised aftercomment) { this.ActionType = actiontype; this.ActionBody = actionbody; this.BeforeComment = null; this.AfterComment = aftercomment; this.StartLine = 0; this.Modifier = null; }
/// <summary> /// /// </summary> /// <param name="actiontype">Type</param> /// <param name="actionbody">Body</param> /// <param name="beforecomment">Before Comment</param> /// <param name="aftercomment">After Comment</param> /// <param name="startline">Start line</param> public ModAction(string actiontype, string actionbody, string beforecomment, StringLocalised aftercomment, int startline) { this.ActionType = actiontype; this.ActionBody = actionbody; this.BeforeComment = beforecomment; this.AfterComment = aftercomment; this.StartLine = startline; this.Modifier = null; }