daily pastebin goal
43%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     public sealed class CMatch : Contract<CMatch> {
  2.         [Output] public CMap Map { get; private set; }
  3.  
  4.         [Input] public readonly ReactiveCommand            Start = new ReactiveCommand();
  5.         [Input] public readonly ReactiveCommand            Leave = new ReactiveCommand();
  6.         [Input] public readonly ReactiveProperty<TimeSpan> Timer = new ReactiveProperty<TimeSpan>();
  7.  
  8.         [Output] public readonly ReactiveProperty<int>        PlayerId  = new ReactiveProperty<int>();
  9.         [Output] public readonly ReactiveProperty<MatchState> State     = new ReactiveProperty<MatchState>();
  10.         [Output] public readonly ReactiveProperty<MatchMode>  MatchMode = new ReactiveProperty<MatchMode>();
  11.         [Output] public readonly ReactiveProperty<GameMode>   GameMode  = new ReactiveProperty<GameMode>();
  12.  
  13.         protected override void Initialize() {
  14.             this.Map = this.GetSub<CMap>();
  15.         }
  16.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top