File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ script:
3636 - go build ./...
3737
3838 # Make sure generated code is up-to-date
39- - go generate
39+ - go generate && go generate ./sendtables
4040 - diff_output=$(git diff)
4141 - if [[ "$diff_output" != "" ]]; then echo "Generated code is not up-to-date" && echo "$diff_output" && exit 1; fi
4242
Original file line number Diff line number Diff line change @@ -14,18 +14,18 @@ type IEntity interface {
1414 ServerClass () * ServerClass
1515 // ID returns the entity's ID.
1616 ID () int
17- // Properties is deprecated, use PropertiesI() instead.
17+ // Properties is deprecated, use PropertiesI() instead which returns a slice of interfaces .
1818 Properties () (out []Property )
1919 // PropertiesI returns all properties of the Entity.
2020 PropertiesI () (out []IProperty )
21- // FindProperty is deprecated, use FindPropertyI() instead.
21+ // FindProperty is deprecated, use FindPropertyI() instead which returns an interface .
2222 FindProperty (name string ) (prop * Property )
2323 // FindPropertyI finds a property on the Entity by name.
2424 //
2525 // Returns nil if the property wasn't found.
2626 //
2727 // Panics if more than one property with the same name was found.
28- FindPropertyI (name string ) ( prop IProperty )
28+ FindPropertyI (name string ) IProperty
2929 // BindProperty combines FindPropertyI() & Property.Bind() into one.
3030 // Essentially binds a property's value to a pointer.
3131 // See the docs of the two individual functions for more info.
You can’t perform that action at this time.
0 commit comments