示例#1
0
 public DnThrow(string diceText)
 {
     thrtype    = DnType.DiceString;
     diceString = diceText;
 }
示例#2
0
 private void WriteHdr(Member m, DnType type)
 {
     WriteInt(m.id);
     WriteInt((int)type);
 }
示例#3
0
 public DnThrow(IDnDice dnDice)
 {
     thrtype   = DnType.SingleDie;
     singleDie = dnDice;
 }
示例#4
0
 private void WriteHdr(Member m, DnType type)
 {
     WriteInt(m.id);
     WriteInt((int)type);
 }