Skip to content
This repository was archived by the owner on Sep 21, 2024. It is now read-only.
This repository was archived by the owner on Sep 21, 2024. It is now read-only.

Code Gen generated Proxy_*Immortal.cs contains duplicated methods when *Immortal interface uses overrided methods #106

Description

@xinni930611

In the case below, I have an interface InventoryEntityMonitorImmortal, it contains methods named Subscribe and UnSubscribe using overriding.

And this caused the Code Gen generated Proxy_InventoryEntityMonitorImmortal to have duplicated definitions of method Subscribe_ReturnValue(byte[] buffer, int cursor) which eventually caused compile errors.

private object
Subscribe_ReturnValue(byte[] buffer, int cursor)
{
// buffer will be an empty byte array since the method Subscribe returns void
// so nothing to read, just getting called is the signal to return to the client
return this;
}

InventoryEntityMonitorImmortal.txt
Proxy_InventoryEntityMonitorImmortal.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions