2024-05-28 08:04:07 +00:00
|
|
|
package ape
|
2024-04-24 13:00:37 +00:00
|
|
|
|
|
|
|
func (t *ChainTarget) SetType(typ TargetType) {
|
|
|
|
t.Type = typ
|
|
|
|
}
|
|
|
|
|
|
|
|
func (t *ChainTarget) SetName(name string) {
|
|
|
|
t.Name = name
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *Chain) SetKind(kind isChain_Kind) {
|
|
|
|
c.Kind = kind
|
|
|
|
}
|
|
|
|
|
|
|
|
func (cr *Chain_Raw) SetRaw(raw []byte) {
|
|
|
|
cr.Raw = raw
|
|
|
|
}
|
|
|
|
|
|
|
|
func (cr *Chain_Raw) GetRaw() []byte {
|
|
|
|
return cr.Raw
|
|
|
|
}
|