/** * Fills tree view with description of this token * * @param Tree Tree to fill in * @param ActorFilter Filter for actor name * @param PropertyFilter Filter for property name * @param RPCFilter Unused */ public override void ToDetailedTreeView(TreeNodeCollection Tree, FilterValues InFilterValues) { TreeNode Child = TokenHelper.AddNode(Tree, "Events"); Child.Nodes.Add("Type : " + NetworkStream.GetName(EventNameNameIndex)); Child.Nodes.Add("Description : " + NetworkStream.GetName(EventDescriptionNameIndex)); }
/** * Fills tree view with description of this token * * @param Tree Tree to fill in * @param ActorFilter Filter for actor name * @param PropertyFilter Filter for property name * @param RPCFilter Unused */ public override void ToDetailedTreeView(TreeNodeCollection Tree, FilterValues InFilterValues) { TreeNode Child = TokenHelper.AddNode(Tree, "Replicated Actors"); int NumReplicatedBits = GetNumReplicatedBits(InFilterValues); string Flags = (bNetDirty ? "bNetDirty " : "") + (bNetInitial ? "bNetInitial" : "") + (bNetOwner ? "bNetOwner" : ""); Child = Child.Nodes.Add(string.Format("{0,-32} : {1:0.00} ({2:000}) ", NetworkStream.GetName(ActorNameIndex), TimeInMS, NumReplicatedBits / 8) + Flags); if (Properties.Count > 0) { TreeNode NewChild = Child.Nodes.Add("Properties"); foreach (var Property in Properties) { if (Property.MatchesFilters(InFilterValues)) { NewChild.Nodes.Add(string.Format("{0,-25} : {1:000}", NetworkStream.GetName(Property.PropertyNameIndex), Property.NumBits / 8.0f)); } } } if (PropertyHeaders.Count > 0) { TreeNode NewChild = Child.Nodes.Add("Property Headers"); foreach (var PropertyHeader in PropertyHeaders) { if (PropertyHeader.MatchesFilters(InFilterValues)) { NewChild.Nodes.Add(string.Format("{0,-25} : {1:000}", NetworkStream.GetName(PropertyHeader.PropertyNameIndex), PropertyHeader.NumBits / 8.0f)); } } } }
public override void ToDetailedTreeView(TreeNodeCollection Tree, FilterValues InFilterValues) { TreeNode Child = TokenHelper.AddNode(Tree, "Must Be Mapped GUID's"); Child.Nodes.Add("NumGuids : " + NumGuids); Child.Nodes.Add("NumBytes : " + NumBits / 8.0f); }
public override void ToDetailedTreeView(TreeNodeCollection Tree, FilterValues InFilterValues) { TreeNode Child = TokenHelper.AddNode(Tree, "Send Bunch"); Child = Child.Nodes.Add("Channel Type : " + ChannelType); Child.Nodes.Add("Channel Index : " + ChannelIndex); Child.Nodes.Add("NumTotalBits : " + GetNumTotalBits()); Child.Nodes.Add(" NumHeaderBits : " + NumHeaderBits); Child.Nodes.Add(" NumPayloadBits: " + NumPayloadBits); Child.Nodes.Add("NumTotalBytes : " + GetNumTotalBits() / 8.0f); }
public override void ToDetailedTreeView(TreeNodeCollection Tree, FilterValues InFilterValues) { TreeNode Child = TokenHelper.AddNode(Tree, "RPCs"); Child = Child.Nodes.Add(NetworkStream.GetName(FunctionNameIndex)); Child.Nodes.Add("Actor : " + NetworkStream.GetName(ActorNameIndex)); Child.Nodes.Add("NumTotalBits : " + GetNumTotalBits()); Child.Nodes.Add(" NumHeaderBits : " + NumHeaderBits); Child.Nodes.Add(" NumParameterBits : " + NumParameterBits); Child.Nodes.Add(" NumFooterBits : " + NumFooterBits); Child.Nodes.Add("NumTotalBytes : " + GetNumTotalBits() / 8.0f); }
public override void ToDetailedTreeView(TreeNodeCollection Tree, FilterValues InFilterValues) { TreeNode Child = TokenHelper.AddNode(Tree, "Socket SendTo"); Child = Child.Nodes.Add("Destination : " + NetworkStream.GetIpString(ConnectionIndex)); Child.Nodes.Add("SocketName : " + NetworkStream.GetName(SocketNameIndex)); Child.Nodes.Add("DesiredBytesSent : " + (NumPacketIdBits + NumBunchBits + NumAckBits + NumPaddingBits) / 8.0f); Child.Nodes.Add(" NumPacketIdBits : " + NumPacketIdBits); Child.Nodes.Add(" NumBunchBits : " + NumBunchBits); Child.Nodes.Add(" NumAckBits : " + NumAckBits); Child.Nodes.Add(" NumPaddingBits : " + NumPaddingBits); Child.Nodes.Add("BytesSent : " + BytesSent); }
public override void ToDetailedTreeView(ItemCollection Tree, FilterValues InFilterValues) { TreeViewItem Child = TokenHelper.AddNode(Tree, "Send Bunch"); TreeViewItem GrandChild = new TreeViewItem(); GrandChild.Header = "Channel Type : " + StreamParser.NetworkStream.GetChannelTypeName(GetChannelTypeIndex()); Child.Items.Add(GrandChild); Child = GrandChild; Child.Items.Add("Channel Index : " + ChannelIndex); Child.Items.Add("NumTotalBits : " + GetNumTotalBits()); Child.Items.Add(" NumHeaderBits : " + NumHeaderBits); Child.Items.Add(" NumPayloadBits: " + NumPayloadBits); Child.Items.Add("NumTotalBytes : " + GetNumTotalBits() / 8.0f); }
public override void ToDetailedTreeView(ItemCollection Tree, FilterValues InFilterValues) { TreeViewItem Child = TokenHelper.AddNode(Tree, "RPCs"); TreeViewItem GrandChild = new TreeViewItem(); GrandChild.Header = StreamParser.NetworkStream.GetName(FunctionNameIndex); Child.Items.Add(GrandChild); Child = GrandChild; Child.Items.Add("Actor : " + StreamParser.NetworkStream.GetName(ActorNameIndex)); Child.Items.Add("NumTotalBits : " + GetNumTotalBits()); Child.Items.Add(" NumHeaderBits : " + NumHeaderBits); Child.Items.Add(" NumParameterBits : " + NumParameterBits); Child.Items.Add(" NumFooterBits : " + NumFooterBits); Child.Items.Add("NumTotalBytes : " + GetNumTotalBits() / 8.0f); }
public override void ToDetailedTreeView(ItemCollection Tree, FilterValues InFilterValues) { TreeViewItem Child = TokenHelper.AddNode(Tree, "Socket SendTo"); TreeViewItem GrandChild = new TreeViewItem(); GrandChild.Header = "Destination : " + StreamParser.NetworkStream.GetIpString(ConnectionIndex, StreamParser.NetworkStream.GetVersion()); Child.Items.Add(GrandChild); Child = GrandChild; Child.Items.Add("SocketName : " + StreamParser.NetworkStream.GetName(SocketNameIndex)); Child.Items.Add("DesiredBytesSent : " + (NumPacketIdBits + NumBunchBits + NumAckBits + NumPaddingBits) / 8.0f); Child.Items.Add(" NumPacketIdBits : " + NumPacketIdBits); Child.Items.Add(" NumBunchBits : " + NumBunchBits); Child.Items.Add(" NumAckBits : " + NumAckBits); Child.Items.Add(" NumPaddingBits : " + NumPaddingBits); Child.Items.Add("BytesSent : " + BytesSent); }
/** * Fills tree view with description of this token * * @param Tree Tree to fill in * @param ActorFilter Filter for actor name * @param PropertyFilter Filter for property name * @param RPCFilter Unused */ public override void ToDetailedTreeView(ItemCollection Tree, FilterValues InFilterValues) { TreeViewItem Child = TokenHelper.AddNode(Tree, "Replicated Actors"); int NumReplicatedBits = GetNumReplicatedBits(InFilterValues); string Flags = ((NetFlags & (byte)ENetFlags.Dirty) == 1 ? "bNetDirty " : "") + ((NetFlags & (byte)ENetFlags.Initial) == 1 ? "bNetInitial" : "") + ((NetFlags & (byte)ENetFlags.Owner) == 1 ? "bNetOwner" : ""); TreeViewItem GrandChild = new TreeViewItem(); GrandChild.Header = string.Format("{0,-32} : {1:0.00} ({2:000}) ", StreamParser.NetworkStream.GetName(ActorNameIndex), TimeInMS, NumReplicatedBits / 8) + Flags; Child.Items.Add(GrandChild); Child = GrandChild; if (Properties.Count > 0) { TreeViewItem NewChild = new TreeViewItem(); NewChild.Header = "Properties"; Child.Items.Add(NewChild); foreach (var Property in Properties) { if (Property.MatchesFilters(InFilterValues)) { NewChild.Items.Add(string.Format("{0,-25} : {1:000}", StreamParser.NetworkStream.GetName(Property.PropertyNameIndex), Property.NumBits / 8.0f)); } } } if (PropertyHeaders.Count > 0) { TreeViewItem NewChild = new TreeViewItem(); NewChild.Header = "Property Headers"; Child.Items.Add(NewChild); foreach (var PropertyHeader in PropertyHeaders) { if (PropertyHeader.MatchesFilters(InFilterValues)) { NewChild.Items.Add(string.Format("{0,-25} : {1:000}", StreamParser.NetworkStream.GetName(PropertyHeader.PropertyNameIndex), PropertyHeader.NumBits / 8.0f)); } } } }
public override void ToDetailedTreeView(TreeNodeCollection Tree, FilterValues InFilterValues) { TreeNode Child = TokenHelper.AddNode(Tree, "Send Acks"); Child.Nodes.Add("NumBytes : " + NumBits / 8.0f); }
public override void ToDetailedTreeView(TreeNodeCollection Tree, FilterValues InFilterValues) { TreeNode Child = TokenHelper.AddNode(Tree, "Frame Markers"); Child.Nodes.Add("Absolute time : " + RelativeTime); }
public override void ToDetailedTreeView(ItemCollection Tree, FilterValues InFilterValues) { TreeViewItem Child = TokenHelper.AddNode(Tree, "GUID's"); Child.Items.Add("NumBytes : " + NumBits / 8.0f); }