Skip to content

Instantly share code, notes, and snippets.

Last active June 19, 2018 14:31
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
public class LogMessageRemoteEvent : IHasEventName
public LogMessageRemoteEvent(string instanceName, string eventName)
InstanceName = instanceName;
EventName = eventName;
// This is the custom data you will be passing between servers
// Any serializable data type (int, string, bool, simple class) can be used
public string InstanceName { get; protected set; }
// This is implemented from IHasEventName and bridges the gap between the remote and local event
public string EventName { get; protected set; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment