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