Skip to content

EventInterfaceGenerator.csGenerateEventClass 方法中,变量 parameters 被定义但从未使用。 #272

Description

@CoconutKayono

这里保留parameters 是为了方便拓展吗?这个parameters 没有使用过。

foreach (var method in methods)  
{  
    var methodName = method.Identifier.ToString();  
    var parameters = string.Join(", ", method.ParameterList.Parameters.Select(p => $"{p.Type} {p.Identifier}"));  
    sb.AppendLine($"        public static readonly int {methodName} = {Definition.StringToHash}(\"{className}.{methodName}\");");  
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions