예제 #1
0
            public NMatchmakeAddMessage Build()
            {
                // Clone object so builder now operates on new copy.
                var original = message;

                message = new NMatchmakeAddMessage();
                message.payload.MatchmakeAdd = new TMatchmakeAdd(original.payload.MatchmakeAdd);
                return(original);
            }
예제 #2
0
 public Builder(long requiredCount)
 {
     message = new NMatchmakeAddMessage();
     message.payload.MatchmakeAdd.RequiredCount = requiredCount;
 }