public virtual bool RegisterMessageObject(uint opcode, uint secondary, Func <Message, Message> createFunc) { return(RegisteredObjects.TryAdd(new OpcodeWithSecodndaryKey(opcode, secondary), createFunc)); }
public virtual bool RegisterMessageObject(uint opcode, Func <Message, Message> createFunc) { return(RegisteredObjects.TryAdd(opcode, createFunc)); }