Skip to content
This repository has been 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

Open
xinni930611 opened this issue Aug 15, 2019 · 0 comments

Comments

@xinni930611
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant