Exemplo n.º 1
0
 /// <inheritdoc />
 protected override TSubCommandType RetrieveSubMessage(BlockNetworkCommand62EventServerPayload payload)
 {
     //If they ask for it just provide it. Could be null, but not up to us.
     return(payload.Command as TSubCommandType);
 }
Exemplo n.º 2
0
 /// <inheritdoc />
 protected override bool CheckIsHandlable(BlockNetworkCommand62EventServerPayload payload)
 {
     //Just check if it's the type.
     return(payload.Command is TSubCommandType);
 }