-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated and added some more wow constants
- Loading branch information
Showing
24 changed files
with
879 additions
and
284 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
bin/ | ||
./dbc/* | ||
/dbc/ | ||
lib | ||
server | ||
**/__debug_bin | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package object | ||
|
||
type GameObject struct { | ||
*Object | ||
} | ||
|
||
func NewGameObject() *GameObject { | ||
gobject := &GameObject{ | ||
Object: NewObject(), | ||
} | ||
|
||
// m_objectType |= TYPEMASK_GAMEOBJECT | ||
// m_objectTypeId = TYPEID_GAMEOBJECT | ||
// 2.3.2 - 0x58 | ||
// m_updateFlag = (UPDATEFLAG_LOWGUID | UPDATEFLAG_HIGHGUID | UPDATEFLAG_HAS_POSITION) | ||
|
||
// m_valuesCount = GAMEOBJECT_END | ||
|
||
return gobject | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package player | ||
|
||
import "github.com/paalgyula/summit/pkg/wow" | ||
|
||
// Movement info | ||
type Movement struct { | ||
MoveFlags wow.MovementFlag | ||
MoveFlags2 uint8 | ||
Time uint32 // time in millisecond | ||
Position WorldLocation | ||
|
||
TransportGuid uint64 | ||
TransportPos WorldLocation | ||
TransportTime uint32 | ||
|
||
SwimmingPitch float32 | ||
FallTime uint32 | ||
|
||
JumpVelocity float32 | ||
JumpSinAngle float32 | ||
JumpCosAngle float32 | ||
JumpXyspeed float32 | ||
|
||
Spline float32 | ||
} |
Oops, something went wrong.