跳到主要内容
版本:Next

Struct WeatherChangeEvent

Namespace: OblivionMP.SDK.Common.Events
Assembly: OblivionMP.SDK.Common.dll

[NetworkedEvent(EventScope.Server, Policy.AreaMaster)]
public struct WeatherChangeEvent

Inherited Members​

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Properties​

Area​

[Area]
public Area Area { readonly get; set; }

Property Value​

Area

Code​

This event's code on the wire, once the host has placed its mod's block.

public RelayMessageCode Code { get; }

Property Value​

RelayMessageCode

TransitionRatio​

public float TransitionRatio { readonly get; set; }

Property Value​

float

WeatherFormId​

public FormId WeatherFormId { readonly get; set; }

Property Value​

FormId

  • Properties
    • Area
    • Code
    • TransitionRatio
    • WeatherFormId